import React from 'react';
import { inject, observer } from 'mobx-react';
import SmsList from './SmsList.js';

@inject('smsManageStore')
@observer
class MySms extends React.Component {
	constructor(props) {
    	super(props);
	    this.state = {
	      	type: 'init',
	    };
	  }
	componentDidMount() {
		this.state.msgCount = 0;
	 }
    render() {
    	return (
			<div className="" id="sms-manage-my">
				<SmsList ecId={`${this && this.props && this.props.ecId || ''}_SmsList@8q3qel`} type={'mySms'} />
    		</div>
    	);
    }
}

export default MySms;
